package com.zyzd.general.module.recyclerview.edit;

import com.zyzd.general.entity.local.UserEntity;
import com.zyzd.general.model.TestModel;
import com.zyzd.retrofit.base.BaseRecyclerPresenter;

public class EditRecyclerPresenter extends BaseRecyclerPresenter<EditRecyclerContract.IView, UserEntity> implements EditRecyclerContract.IPresenter {

    private TestModel mTestModel;

    @Override
    protected void createModel() {
        mTestModel = TestModel.getInstance();
    }

    @Override
    public void loadData(boolean isRefresh) {
        onLoadDataSuccess(isRefresh, mTestModel.getUserList(4));
    }
}
